#!/usr/bin/env bash
export TEST_NUMBER=$1

if [ ! ${TEST_NUMBER} ]; then  
  TEST_NUMBER=01
fi   

export PATH_GIT_TEST=/z/Dev/ningkyolei/git-test

export DIR_ROOT_TEST=subtree-test
export DIR_NAME_PREFIX=origin
export DIR_NAME_01=test-01
export DIR_NAME_02=test-02
export DIR_NAME_01_NEW_GIT_CLONE=${DIR_NAME_01}-new-git-clone
export DIR_NAME_01_ORIGIN=${DIR_NAME_01}-${DIR_NAME_PREFIX}
export DIR_NAME_02_ORIGIN=${DIR_NAME_02}-${DIR_NAME_PREFIX}

export PATH_ROOT_TEST=${PATH_GIT_TEST}/${DIR_ROOT_TEST}
export PATH_NAME_01=${PATH_ROOT_TEST}/${DIR_NAME_01}
export PATH_NAME_02=${PATH_ROOT_TEST}/${DIR_NAME_02}
export PATH_NAME_01_NEW_GIT_CLONE=${PATH_ROOT_TEST}/${DIR_NAME_01_NEW_GIT_CLONE}
export PATH_NAME_01_ORIGIN=${PATH_ROOT_TEST}/${DIR_NAME_01_ORIGIN}
export PATH_NAME_02_ORIGIN=${PATH_ROOT_TEST}/${DIR_NAME_02_ORIGIN}

./init.sh
./test-${TEST_NUMBER}.sh